package com.baizhi.service;

import com.baizhi.entity.Admin;
import com.baizhi.entity.Feedback;
import com.baizhi.entity.user;
import org.apache.catalina.User;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.multipart.MultipartFile;

import java.util.HashMap;

public interface UserService {
    HashMap<String,Object> queryAllPage(Integer page, Integer pageSize);

    HashMap<String, Object> delete(@RequestBody user user);

    HashMap<String, Object> update(@RequestBody user user);

    HashMap<String, Object> add(@RequestBody user user);

    String uploadHeadImg(MultipartFile headImg);

    String uploadHeadImgALiY(MultipartFile headImg);

    user queryById(String id);
}
